<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>邮箱验证码</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }

        .container {
            max-width: 600px;
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1 {
            color: #333;
            text-align: center;
        }

        p {
            color: #666;
            font-size: 16px;
        }

        .code-box {
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 15px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            color: #28a745;
            margin: 20px 0;
        }

        .footer {
            margin-top: 20px;
            text-align: center;
            font-size: 14px;
            color: #999;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>爱坤无限公司提醒您！</h1>
    <p>尊敬的用户，您好！</p>
    <p>您正在操作云忆匣账号，本次的验证码为：</p>
    <div class="code-box">
        <span th:text="${code}"></span>
    </div>
    <p>您正在操作 <strong style="color: #0066cc;">云忆匣</strong> 账号，本次的验证码为：</p>
    <div class="footer">
        <p>© 2025 <strong style="color: #0066cc;">云忆匣</strong> 版权所有</p>
    </div>
</div>
</body>
</html>